
exports.__esModule = true;
exports.default = void 0;

const _utils = require('../utils');

const _relation = require('../mixins/relation');

const _createNamespace = (0, _utils.createNamespace)('steps');
const createComponent = _createNamespace[0];
const bem = _createNamespace[1];

const _default = createComponent({
  mixins: [(0, _relation.ParentMixin)('vanSteps')],
  props: {
    activeColor: String,
    inactiveIcon: String,
    active: {
      type: [Number, String],
      default: 0,
    },
    direction: {
      type: String,
      default: 'horizontal',
    },
    activeIcon: {
      type: String,
      default: 'checked',
    },
  },
  render: function render() {
    const h = arguments[0];
    return h('div', {
      class: bem([this.direction]),
    }, [h('div', {
      class: bem('items'),
    }, [this.slots()])]);
  },
});

exports.default = _default;
